package cn.echo.modules.sys.dao;


import cn.echo.modules.sys.entity.Article;
import cn.echo.modules.sys.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by V on 2017/4/13.
 */
public interface UserMapper {
    public boolean insert(User user);
    int findBy(@Param("email") String email, @Param("password") String password);
    public boolean deleteByDelFlag(User user);
    public List<User> findAll(User user);

   public boolean updateById(User user);


   public boolean deleteByDel_Flag(User user);



    public User findById(String id);
    public void edit(User user);
    public void remove(User user);


}
